#coding:utf-8
from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app

class MainPage(webapp.RequestHandler):
    def get(self):
        self.response.headers['Content-Type'] = 'text/html'
        self.response.out.write('<a href="/zuosa">zuosa</a><br>')
        self.response.out.write('<a href="/wordpress">wordpress</a>')
    
from Javaeye import JavaeyeHandler    
from Zuosa import ZuosaHandler
from Wordpress import *
application = webapp.WSGIApplication([('/', MainPage),
                                      ('/zuosa',ZuosaHandler),
                                      ('/wordpress',WordpressHandler),
                                      ('/wordpress/getCategorys',WordpressCategoryHandler),
                                      ('/javaeye',JavaeyeHandler)], debug=True)


def main():
    run_wsgi_app(application)

if __name__ == "__main__":
    main()
